package com.ruoyi.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_oss
 * 
 * @author ruoyi
 * @date 2021-05-28
 */
@Data
public class SysOss extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long ossId;

    private String ossUrl;

    public String getOssUrl() {
        return ossUrl;
    }

    public void setOssUrl(String ossUrl) {
        this.ossUrl = ossUrl;
    }

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ossName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ossSize;

    public void setOssId(Long ossId) 
    {
        this.ossId = ossId;
    }

    public Long getOssId() 
    {
        return ossId;
    }
    public void setOssName(String ossName) 
    {
        this.ossName = ossName;
    }

    public String getOssName() 
    {
        return ossName;
    }
    public void setOssSize(String ossSize) 
    {
        this.ossSize = ossSize;
    }

    public String getOssSize() 
    {
        return ossSize;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ossId", getOssId())
            .append("ossName", getOssName())
            .append("ossSize", getOssSize())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
